import useGlobalAPI from '@/hooks/useGlobalAPI'
import {RouterView} from 'vue-router'
import UseSettingPage from './components/page'
export default defineComponent({
  name: 'dataOverview',
  setup() {
    const {route} = useGlobalAPI()
    return () =>
      route.name === 'userSetting-home' ? (
        <UseSettingPage></UseSettingPage>
      ) : (
        <RouterView></RouterView>
      )
  }
})
